import actorModel from './actorModel';
import { tagsModel } from './videoInfoModels';

export default class movieModel {
  movie_status: number;
  pay_user: movieModel;
  status: number;
  payment: movieModel;
  pay_begin_time: string;
  price: number;
  product_id: string;
  season: movieModel;
  actor: Array<actorModel>;
  get actors() {
    return this.actor[0].actor;
  }
  tags: Array<tagsModel>;
  area: string;
  cover: string;
  pub_time: string;
  title: string;
  total_duration: string;
  activity: movieModel;
  activity_id: number;
  link: string;
  script_src: string;
}